package com.taobaolite.user.store;

import com.taobaolite.user.store.Store;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class StoreBody {
    private String name;
    private String description;
    private String logoPath;
    private Long storeId;

    public StoreBody(Store store) {
        name = store.getName();
        description = store.getDescription();
        logoPath = store.getLogoPath();
        storeId = store.getStoreId();
    }
}
